<template>
  <div class="inputbox">
    <div class="item">
      <img src="../assets/img/input_01.png">
      <span class="line"></span>
      <img src="../assets/img/input_02.png">
    </div>
    <input type="text" placeholder="请输入文字" class="shuru">
    <span class="btn"><input type="submit" value="发送" class="btn2"></span>
  </div>
</template>
<script>
export default {
  name: "InputBox",
  data() {
    return {
      
    }
  }
};
</script>
<style scoped  lang="less">
 .inputbox {
    width:100%;
    height: 60px;
    padding:0 10px;
    position: fixed;
    background: #fff;
    bottom: 0;
    left:0;
    z-index: 999;
    border-top:2px solid #E5E5E5;
    box-shadow: 0 0 10px 1px #E5E5E5;
    display:flex;
    justify-content:center;
    align-items:center;
  .item {
    float: left;
    width: 20%;
    display: flex;
    justify-content:flex-end;
    align-items:center;
    padding: 0 10px;
    
    .line {
      float: left;
      display: block;
      width: 1px;
      height: 15px;
      background-color: gray;
      margin: 0 10px;
    }
    img {
      float: left;
      width:20px;
      height:20px;
      
    }
  }
  input {
    float: left;
    border:1px solid #333;
    height: 30px;
    border-radius: 0.5em;
    font-size: 12px;
    color:gray;
  }
  .shuru {
    width: 50%;
    margin:0 10px;
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .btn {
    float: left;
    width: 30%;
    padding: 0 10px;
    .btn2{
      width: 70px;
    }
  }

 }
</style>